

<div class="container">
	<div class="child-container" style="width:50%;float:left;">
		<p class="title"><b>Section Name:</b>&nbsp;&nbsp;<?=$section['section'];?></p>
		<p class="title"><b>Adviser:</b>&nbsp;&nbsp;<?=$section['adviser'];?></p>
	</div>
	<div class="child-container" style="width:50%;float:left;">
		<p class="title"><b>Room:</b>&nbsp;&nbsp;<?=$section['room_name'].' , '.$section['room_desc'];?></p>
	</div>
	<div style="clear:both;border-top:1px dotted #000;margin:2px 0 10px 0;"></div>

	<div class="child-container" style="width:50%;float:left;">
		<table class="table">
			<tr>
				<td><b>Male: (<?=$section['malecount'];?>)</b></td>
			</tr>
			<?if($section['male']):?>
				<?foreach($section['male'] as $k => $v):?>
					<tr>
						<td>&nbsp;&nbsp;<?=($k+1).') '.$v->fullname;?></td>
					</tr>
				<?endforeach;?>
			<?else:?>
				<tr>
					<td>&nbsp;&nbsp;No Male Students</td>
				</tr>
			<?endif;?>
		</table>
	</div>
	
	<div class="child-container" style="width:50%;float:left;">
		<table class="table">
			<tr>
				<td><b>Female: (<?=$section['femalecount'];?>)</b></td>
			</tr>
			<?if($section['female']):?>
				<?foreach($section['female'] as $k => $v):?>
					<tr>
						<td>&nbsp;&nbsp;<?=($k+1).') '.$v->fullname;?></td>
					</tr>
				<?endforeach;?>
			<?else:?>
				<tr>
					<td>&nbsp;&nbsp;No Female Students</td>
				</tr>
			<?endif;?>
		</table>
	</div>
	<span class="ender"></span>
</div>
